forked from Goorm-Lucky7/Dart_BE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (44 loc) · 864 Bytes
/
docker-compose.yml
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
version: '3.8'
services:
nginx:
container_name: nginx-container
image: ssolmoon/dart-nginx:latest
restart: always
ports:
- "${NGINX_HTTP_PORT}:80"
- "${NGINX_HTTPS_PORT}:443"
depends_on:
- app
networks:
- dart-network
volumes:
- /etc/letsencrypt:/etc/letsencrypt
env_file:
- ./.env
redis:
container_name: redis-container
image: redis:latest
restart: always
expose:
- "${REDIS_PORT}"
networks:
- dart-network
env_file:
- ./.env
app:
container_name: dart-container
image: ssolmoon/dart:latest
restart: always
expose:
- "${APP_PORT}"
depends_on:
- redis
networks:
- dart-network
env_file:
- ./.env
environment:
- SPRING_PROFILES_ACTIVE=dev
networks:
dart-network:
driver: bridge