-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathcompose.dev.yml
More file actions
126 lines (121 loc) · 2.63 KB
/
compose.dev.yml
File metadata and controls
126 lines (121 loc) · 2.63 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
services:
aqua-api:
build:
context: .
dockerfile: apps/aqua/Dockerfile
container_name: aqua-app
ports:
- "3000:3000"
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- app_network
depends_on:
- postgres
env_file:
- .env
environment:
DATABASE_URL: ${DOCKER_DB_URL}
amethyst:
build:
context: .
dockerfile: apps/amethyst/Dockerfile
args:
- CLIENT_ADDRESS=${CLIENT_ADDRESS}
ports:
- "80:80"
- "443:443"
- "443:443/udp"
volumes:
- caddy_data:/data
- caddy_config:/config
networks:
- app_network
environment:
CLIENT_ADDRESS: ${CLIENT_ADDRESS}
cadet:
build:
context: .
dockerfile: services/cadet/Dockerfile
container_name: cadet-app
ports:
- "3001:3000"
networks:
- app_network
depends_on:
- postgres
satellite:
image: ghcr.io/espeon/satellite
ports:
- "3132:3000"
env_file:
- .env
environment:
DATABASE_URL: ${DOCKER_DB_URL}
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- app_network
depends_on:
- postgres
piper:
image: ghcr.io/teal-fm/piper:main
# Depends on your .env.air
ports:
- "8080:8080"
env_file:
- .env.air
volumes:
- piper_data:/db
- garnet
garnet:
image: ghcr.io/microsoft/garnet:latest
container_name: garnet
ports:
- "6379:6379"
volumes:
- garnet_data:/data
command: --storage-tier Storage --index-size 1g
networks:
- app_network
postgres:
image: postgres:latest
container_name: postgres_db
environment:
POSTGRES_USER: ${DB_USER}
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_DB: ${DB_NAME}
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- app_network
# traefik:
# image: traefik:v2.10
# container_name: traefik
# command:
# - "--api.insecure=true"
# - "--providers.file.directory=/etc/traefik/dynamic"
# - "--providers.file.watch=true"
# - "--entrypoints.web.address=:80"
# ports:
# - "80:80" # HTTP
# - "8080:8080" # Dashboard
# volumes:
# - ./traefik/dynamic:/etc/traefik/dynamic:ro
# networks:
# - app_network
# extra_hosts:
# - "host.docker.internal:host-gateway" # This allows reaching host machine
networks:
app_network:
driver: bridge
volumes:
postgres_data:
caddy_data:
caddy_config:
piper_data:
garnet_data: