-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
47 lines (47 loc) · 1009 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
services:
app:
build: .
container_name: cortana
restart: unless-stopped
stdin_open: true
tty: true
depends_on:
db:
condition: service_healthy
db:
build:
context: ./migrations
dockerfile: ./Dockerfile
container_name: postgres
restart: unless-stopped
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: admin
POSTGRES_DB: adnauseam
ports:
- 5555:5432
healthcheck:
test: pg_isready -U user -d adnauseam
interval: 10s
timeout: 30s
retries: 3
start_period: 10s
piston:
image: ghcr.io/engineer-man/piston
container_name: piston
restart: unless-stopped
ports:
- 2000:2000
tmpfs:
- /piston/jobs:exec,uid=1000,gid=1000,mode=711
- /tmp:exec
logs:
image: amir20/dozzle
container_name: dozzle
restart: unless-stopped
profiles:
- logs
ports:
- 8080:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock