comfy/artel/docker-compose.yml

52 wiersze
836 B
YAML
Czysty Zwykły widok Historia

2023-05-03 18:17:49 +00:00
version: "3.8"
services:
smtp-server:
image: mailhog/mailhog
ports:
- "1025:1025"
- "8025:8025"
2023-05-03 18:17:49 +00:00
comfy:
restart: always
depends_on:
- smtp-server
- db
2023-05-03 18:17:49 +00:00
build:
dockerfile: Dockerfile.local
context: ./
2023-06-19 18:51:25 +00:00
user: "${UID}:${GID}"
2023-05-03 18:17:49 +00:00
ports:
- "8001:8000"
2023-05-03 18:17:49 +00:00
volumes:
- ./:/app
- media:/app/media
2023-05-16 18:03:55 +00:00
environment:
- SECRET_KEY
- DATABASE_URL
env_file:
- .env
stdin_open: true
tty: true
2023-05-03 18:17:49 +00:00
db:
image: postgres
restart: always
environment:
2023-05-16 18:03:55 +00:00
- POSTGRES_ROOT_PASSWORD
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
2023-05-03 18:17:49 +00:00
volumes:
- db:/var/lib/postgresql/data
2023-05-16 18:03:55 +00:00
env_file:
- .env
adminer:
image: adminer
restart: always
ports:
- "8002:8080"
volumes:
media:
db: