-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
54 lines (51 loc) · 1.22 KB
/
compose.yaml
File metadata and controls
54 lines (51 loc) · 1.22 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
services:
localstack:
image: localstack/localstack:4
ports:
- "127.0.0.1:${SUVE_LOCALSTACK_EXTERNAL_PORT:-4566}:4566/tcp"
environment:
- SERVICES=ssm,secretsmanager,events
- DEBUG=0
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:4566/_localstack/health"]
interval: 5s
timeout: 5s
retries: 10
start_period: 15s
ubuntu-22:
profiles:
- ubuntu-22
build:
context: .
dockerfile: docker/ubuntu-22/Dockerfile
environment:
- DISPLAY=${HOST_DISPLAY:-host.docker.internal:0}
volumes:
- .:/app
- go-cache:/root/go
- go-build-cache:/root/.cache/go-build
working_dir: /app
stdin_open: true
tty: true
extra_hosts:
- "host.docker.internal:host-gateway"
ubuntu-24:
profiles:
- ubuntu-24
build:
context: .
dockerfile: docker/ubuntu-24/Dockerfile
environment:
- DISPLAY=${HOST_DISPLAY:-host.docker.internal:0}
volumes:
- .:/app
- go-cache:/root/go
- go-build-cache:/root/.cache/go-build
working_dir: /app
stdin_open: true
tty: true
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
go-cache:
go-build-cache: