-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (40 loc) · 1.13 KB
/
docker-compose.yml
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
---
version: "3.9"
services:
buildroot-dev:
image: "${REGISTRY:-docker.io/}${IMAGE_OWNER}/${IMAGE_NAME}:buildroot-dev"
build:
dockerfile: ${DOCKER_FILE:-Dockerfile}
target: buildroot-dev
args:
BUILDKIT_INLINE_CACHE: "1"
REGISTRY: ${REGISTRY:-docker.io/}
PUBLIC_REGISTRY: ${REGISTRY:-docker.io/}
context: .
# secrets:
# - oban_license_key
# - oban_key_fingerprint
# - access_token
# VSCode devcontainer needs something running
# command: /bin/sh -c "while sleep 1000; do :; done"
environment:
- DATABASE_DB
- DATABASE_HOST=${DATABASE_HOST:-postgres}
- DATABASE_URL
- SECRET_KEY_BASE=${SECRET_KEY_BASE:-0cSFk8v5IsZIIGCjY+X66l5xULUl/2mczI4Eqf7slpyns5nBkhegDn6YH9th+5D2}
ports:
- '4000:4000'
stdin_open: true
tty: true
cap_add:
- CAP_SYS_ADMIN
volumes:
- "./buildroot:/buildroot:delegated"
- "./output:/tmp/output:delegated"
- buildroot_src:/opt/buildroot
- buildroot_output:/opt/buildroot_output
volumes:
buildroot_src:
driver: local
buildroot_output:
driver: local