2023-05-03 18:17:49 +00:00
|
|
|
version: "3.8"
|
|
|
|
services:
|
2023-06-18 14:18:00 +00:00
|
|
|
smtp-server:
|
|
|
|
image: mailhog/mailhog
|
|
|
|
ports:
|
|
|
|
- "1025:1025"
|
|
|
|
- "8025:8025"
|
2023-05-03 18:17:49 +00:00
|
|
|
comfy:
|
2023-07-25 22:31:10 +00:00
|
|
|
restart: always
|
2023-07-21 19:34:37 +00:00
|
|
|
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:
|
2023-07-14 22:30:40 +00:00
|
|
|
- "8001:8000"
|
2023-05-03 18:17:49 +00:00
|
|
|
volumes:
|
2023-07-25 22:31:10 +00:00
|
|
|
- ./:/app
|
2023-07-14 22:30:40 +00:00
|
|
|
- media:/app/media
|
2023-05-16 18:03:55 +00:00
|
|
|
environment:
|
|
|
|
- SECRET_KEY
|
|
|
|
- DATABASE_URL
|
|
|
|
env_file:
|
|
|
|
- .env
|
2023-05-28 16:35:08 +00:00
|
|
|
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:
|
2023-07-14 22:30:40 +00:00
|
|
|
- db:/var/lib/postgresql/data
|
2023-05-16 18:03:55 +00:00
|
|
|
env_file:
|
|
|
|
- .env
|
2023-07-14 22:30:40 +00:00
|
|
|
|
|
|
|
adminer:
|
|
|
|
image: adminer
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- "8002:8080"
|
|
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
media:
|
|
|
|
db:
|