-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (50 loc) · 978 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
57 lines (50 loc) · 978 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
54
55
56
57
version: "3.7"
services:
owl-db:
image: postgres:13
environment:
- POSTGRES_USER=owl
- POSTGRES_PASSWORD=owl
ports:
- 5432:5432
volumes:
- type: volume
source: owl-postgres-data
target: /var/lib/postgresql/dataowl
depends_on:
- owl-redis
owl-redis:
image: redis:6.2
ports:
- 6379:6379
volumes:
- owl-redis:/data
owl-migrations:
build:
context: ./owl-migrations
dockerfile: ./Dockerfile
env_file:
- ./owl-migrations/.env
depends_on:
- owl-db
owl-auth:
build:
context: ./owl-auth
dockerfile: ./Dockerfile
volumes:
- type: bind
source: ./owl-auth
target: /opt/app-root
env_file:
- ./owl-auth/.env
ports:
- 2345:80
depends_on:
- owl-migrations
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
owl-postgres-data:
owl-redis:
networks:
default: