-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (47 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
51 lines (47 loc) · 1.08 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
services:
app:
build:
context: .
dockerfile: ./Dockerfile.dev
depends_on:
- caddy
- postgresql
volumes:
- .:/workspace
- op-config:/home/developer/.config/op
- go-mod-cache:/go/pkg/mod
- go-build-cache:/go/.cache/go-build
- app-gems-data:/mise/installs/ruby/3.4.4/lib/ruby/gems/3.4.0
ports:
- "4200:8080" # Go
- "4201:3000" # Rails
stdin_open: true
tty: true
working_dir: /workspace
environment:
- BINDING=0.0.0.0
- OP_SERVICE_ACCOUNT_TOKEN=${OP_SERVICE_ACCOUNT_TOKEN:-}
caddy:
image: caddy:2-alpine
ports:
- "4203:8080"
volumes:
- ./caddy/Caddyfile:/etc/caddy/Caddyfile:ro
postgresql:
image: postgres:18.1
ports:
- "4204:5432"
volumes:
- postgresql18-data:/var/lib/postgresql:delegated
environment:
POSTGRES_HOST_AUTH_METHOD: trust
chrome:
image: selenium/standalone-chromium:136.0.7103.113
ports:
- "4205:4444"
volumes:
app-gems-data:
go-build-cache:
go-mod-cache:
op-config:
postgresql18-data: