57 lines
1.2 KiB
YAML
57 lines
1.2 KiB
YAML
x-environment: &default-environment
|
|
LOG_LEVEL: "DEBUG"
|
|
ACME_PATH: "./acme.json"
|
|
NETWORK: "${NETWORK:-host}"
|
|
FIN_LOCATION: ""
|
|
STREAMLIT_FIN_SERVER_PORT: "8501"
|
|
GROQ_API_KEY: "${GROQ_API_KEY}"
|
|
BAI_LOCATION: ""
|
|
STREAMLIT_BAI_SERVER_PORT: "8502"
|
|
|
|
volumes:
|
|
logs: {}
|
|
production_traefik: {}
|
|
portainer_data: {}
|
|
|
|
services:
|
|
|
|
portainer:
|
|
image: portainer/portainer-ce:sts
|
|
command: -H unix:///var/run/docker.sock
|
|
container_name: portainer
|
|
restart: always
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- portainer_data:/data
|
|
expose:
|
|
- 8000
|
|
- 9000
|
|
networks:
|
|
- net
|
|
|
|
traefik:
|
|
environment:
|
|
<<: *default-environment
|
|
build:
|
|
context: .
|
|
dockerfile: ./traefik/Dockerfile
|
|
image: traefik_production
|
|
container_name: traefik
|
|
restart: always
|
|
volumes:
|
|
- logs:/logs
|
|
- production_traefik:/etc/traefik/acme:z
|
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
- "7687:7687"
|
|
- "8083:8083"
|
|
- "8084:8084"
|
|
- "8883:8883"
|
|
# - "1883:1883"
|
|
# - 18083:18083
|
|
networks:
|
|
- net |