-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 794 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 794 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
services:
postgres:
container_name: postgres
image: 'postgres:18-alpine'
networks:
- infi
restart: always
volumes:
- 'postgres-data:/var/lib/postgresql/data'
ports:
- '5432:5432'
environment:
POSTGRES_USER: 'postgres'
POSTGRES_PASSWORD: 'postgres'
POSTGRES_DB: 'postgres'
logging:
options:
max-size: '20m'
max-file: '3'
gemboard:
build:
context: ../
container_name: gemboard
depends_on:
- postgres
env_file:
- ./src/.env
- ./src/.env.development.local
image: gemboard:latest
logging:
options:
max-size: '1g'
max-file: '3'
networks:
- infi
restart: always
tty: true
volumes:
postgres-data:
networks:
infi: