forked from SPARKLINGTHON-PMs/Be-CYCLE-Server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (46 loc) · 883 Bytes
/
docker-compose.yml
File metadata and controls
53 lines (46 loc) · 883 Bytes
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
version: '3.9'
services:
# backend:
# container_name: backend
# image: ghcr.io/puleugo/boilerplate:latest
# build:
# context: .
# dockerfile: Dockerfile
# restart: always
# env_file:
# - .env
# ports:
# - 5001:5001
# networks:
# - backend
# depends_on:
# - db
db:
image: postgres:13
container_name: hackerthon-postgres
restart: always
# env_file:
# - .env
networks:
- backend
environment:
POSTGRES_DB: pg_db
POSTGRES_USER: db_user
POSTGRES_PASSWORD: pg_password
ports:
- "5432:5432"
volumes:
- db_data:/var/lib/postgresql/data
# redis:
# image: redis
# container_name: wtgames-redis
# restart: always
# env_file:
# - .env
# volumes:
# - redis:/var/lib/redis/data:rw
networks:
backend:
volumes:
db_data:
# redis: