34 lines
781 B
YAML
34 lines
781 B
YAML
---
|
|
services:
|
|
odengin:
|
|
build: ./odengin # Ajusta la ruta al directorio con su Dockerfile
|
|
container_name: odengin
|
|
environment:
|
|
- E5_CLIENT_ID=id
|
|
- E5_CLIENT_SECRET=secret
|
|
- E5_REFRESH_TOKEN=tokenit
|
|
- WEB_APP_PASSWORD=123
|
|
- E5_WEB_APP_PASSWORD=123
|
|
ports:
|
|
- 8089:8080
|
|
restart: unless-stopped
|
|
hostname: odengin
|
|
networks:
|
|
- odeng-net
|
|
|
|
odcron:
|
|
build: ./odcron # Ajusta la ruta al directorio con su Dockerfile
|
|
container_name: odcron
|
|
environment:
|
|
- IP=odengin:8080 # Usa el nombre del servicio para comunicación interna
|
|
- PASSWORD=pass
|
|
- REFRESH_TOKEN=tokenit
|
|
restart: unless-stopped
|
|
hostname: odcron
|
|
networks:
|
|
- odeng-net
|
|
|
|
networks:
|
|
odeng-net:
|
|
driver: bridge
|