-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (48 loc) · 1.08 KB
/
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
49
50
51
52
53
54
55
services:
postgres:
container_name: postgres
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
redis:
container_name: redis
image: redis
restart: always
ports:
- "6379:6379"
backend:
container_name: backend
build:
context: .
dockerfile: Dockerfile
restart: always
ports:
- "8080:8080"
depends_on:
- postgres
#
# nginx:
# container_name: nginx
# image: nginx
# restart: always
# ports:
# - "80:80"
# volumes:
# - ./nginx/nginx.conf:/etc/nginx/nginx.conf
# depends_on:
# - backend
# certbot:
# container_name: certbot
# image: certbot/certbot
# restart: always
# volumes:
# - ./certbot/conf:/etc/letsencrypt
# - ./certbot/www:/var/www/certbot
# command: certonly --webroot --webroot-path=/var/www/certbot --email [email protected] --agree-tos --no-eff-email -d vm2689665.stark-industries.solutions
volumes:
postgres-data: