-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (54 loc) · 1.21 KB
/
docker-compose.yml
File metadata and controls
58 lines (54 loc) · 1.21 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
53
54
55
56
57
58
# version: '3'
# services:
# postgres:
# image: postgres:latest
# restart: always
# environment:
# - POSTGRES_USER=hackathon-killer
# - POSTGRES_PASSWORD=hackathon-password
# - POSTGRES_DB=hackathon-db
# volumes:
# - postgres:/var/lib/postgresql/data
# ports:
# - '5432:5432'
# web:
# container_name: hackathonkiller-web
# build:
# context: .
# dockerfile: ./apps/web/Dockerfile
# restart: always
# env_file: ./apps/web/.env
# ports:
# - 3000:80
# logging:
# driver: json-file
# options:
# max-size: '2M'
# max-file: '5'
# api:
# container_name: hackathonkiller-api
# build:
# context: .
# dockerfile: ./apps/api/Dockerfile
# restart: always
# env_file: ./apps/api/.env
# ports:
# - 5000:7070
# depends_on:
# - postgres
# logging:
# driver: json-file
# options:
# max-size: '2M'
# max-file: '5'
# redis:
# image: redis:latest
# container_name: redis
# command: redis-server --appendonly yes
# volumes:
# - ~/data/redis-data:/data
# ports:
# - 6379:6379
# restart: always
# volumes:
# postgres: