-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (66 loc) · 2.03 KB
/
docker-compose.yml
File metadata and controls
67 lines (66 loc) · 2.03 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
# This file is automatically generated by SnowBlower.
# Do not edit this file directly as your changes will be overwritten.
# Instead, modify your flake.nix configuration to update Docker services.
networks:
snownet:
driver: bridge
services:
builder:
build:
args:
USER_GID: ${SB_USER_GID:-1000}
USER_UID: ${SB_USER_UID:-1000}
context: ./
dockerfile: docker/Dockerfile.builder
environment:
DOCKER_CERT_PATH: /certs/client
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_VERIFY: 1
SB_PROJECT_HASH: ${SB_PROJECT_HASH}
SB_PROJECT_PROFILE: /snowblower/profile
SB_PROJECT_ROOT: /snowblower
SB_PROJECT_STATE: /snowblower/state
SB_SERVICE_TYPE: builder
SB_USER_GID: ${SB_USER_GID}
SB_USER_UID: ${SB_USER_UID}
SB_WORKSPACE_ROOT: /workspace
networks:
- snownet
profiles:
- manual-start
restart: 'no'
user: ${SB_USER_UID}:${SB_USER_GID}
volumes:
- .:/workspace
- ${SB_PROJECT_PROFILE:-/tmp/snowblower/profile}:/snowblower/profile
- ${SB_PROJECT_STATE:-/tmp/snowblower/state}:/snowblower/state
- ${SB_PROJECT_ROOT:-/tmp/snowblower}:/snowblower
- snowblower-nix:/nix
- /var/run/docker.sock:/var/run/docker.sock
tools:
environment:
SB_PROJECT_HASH: ${SB_PROJECT_HASH}
SB_PROJECT_PROFILE: /snowblower/profile
SB_PROJECT_ROOT: /snowblower
SB_PROJECT_STATE: /snowblower/state
SB_SERVICE_TYPE: tools
SB_USER_GID: ${SB_USER_GID}
SB_USER_UID: ${SB_USER_UID}
SB_WORKSPACE_ROOT: /workspace
image: snowblower/snow-blower-r335e10bbad6148d4387dbf0d147bec7a/tools:latest
networks:
- snownet
profiles:
- auto-start
restart: 'no'
tty: true
user: ${SB_USER_UID}:${SB_USER_GID}
volumes:
- .:/workspace
- ${SB_PROJECT_PROFILE:-/tmp/snowblower/profile}:/snowblower/profile
- ${SB_PROJECT_STATE:-/tmp/snowblower/state}:/snowblower/state
working_dir: /workspace
volumes:
snowblower-nix:
labels:
org.snowblower.project: snowblower