-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
52 lines (50 loc) · 1.31 KB
/
docker-compose.override.yml
File metadata and controls
52 lines (50 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: "3.9"
services:
#Flask Service
flask_backend:
build:
context: ./backend
target: development
environment:
FLASK_ENV: development
FLASK_DEBUG: 1
TOKEN_EXPIRATION_DAYS: 5
TOKEN_EXPIRATION_SECONDS: 30
SECRET_KEY: "sdgdgfhfjsfgjdrg"
MAIL_SERVER: mailhog
MAIL_PORT: 1025
MAIL_USERNAME:
MAIL_PASSWORD:
MAIL_DEFAULT_SENDER: "no-reply@flask-redis.test"
CELERY_BROKER_URL: redis://default:${REDIS_PASSWORD:-password}@redis_database:6379/0
CELERY_RESULT_BACKEND: redis://default:${REDIS_PASSWORD:-password}@redis_database:6379/0
ports:
- 5678:5678
#Nuxt Frontend Service
nuxt_frontend:
build:
context: ./frontend
target: development
environment:
NODE_ENV: development
ports:
- 24678:24678
command: yarn dev -o
# command: yarn dev-debug # for debugging WIP
#Redis Stack Service
redis_database:
image: redis/redis-stack:7.0.2-RC1
ports:
- 8001:8001
#Nginx Service
nginx_server:
volumes:
- ./server/conf.d/development:/etc/nginx/conf.d
mailhog:
image: "mailhog/mailhog:latest"
container_name: mailhog
ports:
- "${FORWARD_MAILHOG_PORT:-1025}:1025"
- "${FORWARD_MAILHOG_DASHBOARD_PORT:-8025}:8025"
networks:
- backend-network