forked from operately/operately
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·89 lines (84 loc) · 1.86 KB
/
docker-compose.yml
File metadata and controls
executable file
·89 lines (84 loc) · 1.86 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
services:
app:
build:
context: .
dockerfile: Dockerfile.dev
args:
- USER_ID
- GROUP_ID
user: ${USER_ID}:${GROUP_ID}
volumes:
- ./:/home/dev/app
- ./media:/media
- ./screenshots:/tmp/screenshots
- ./tmp/certs:/home/dev/certs
ports:
- "127.0.0.1:4000:4000"
depends_on:
- db
- s3mock
environment:
- DB_HOST=db
- DB_USERNAME=postgres
- DB_PASSWORD=keyboard-cat
- NOTIFICATION_EMAIL=notifications@locahost.dev
- OPERATELY_JS_SENTRY_ENABLED=false
- OPERATELY_JS_SENTRY_DSN=not-set
- CERT_DOMAIN=localhost
- CERT_DB_DIR=/home/dev/certs
env_file:
- .env
profiles:
- dev
- ci
db:
image: postgres:14.5
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: keyboard-cat
PGDATA: /var/lib/postgresql/data/pgdata
restart: always
volumes:
- postgres-data:/var/lib/postgresql/data
profiles:
- dev
- ci
screenshots-server:
image: python:3
working_dir: "/screenshots"
command: >
sh -c "python -m http.server 8000"
ports:
- "127.0.0.1:8000:8000"
volumes:
- ./screenshots:/screenshots
profiles:
- dev
pgweb:
restart: always
image: sosedoff/pgweb:0.15.0
command: [ "pgweb", "--bind=0.0.0.0" ]
ports:
- "127.0.0.1:8081:8081"
links:
- db:db
environment:
- PGWEB_DATABASE_URL=postgres://postgres:keyboard-cat@db:5432/postgres?sslmode=disable
depends_on:
- db
profiles:
- dev
s3mock:
image: adobe/s3mock:3.9.1
environment:
- debug=true
- retainFilesOnExit=true
- root=containers3root
- initialBuckets=operately
ports:
- "9090:9090"
volumes:
- ./locals3root:/containers3root
volumes:
postgres-data:
driver: local