-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-cli.yml
More file actions
39 lines (35 loc) · 861 Bytes
/
docker-compose-cli.yml
File metadata and controls
39 lines (35 loc) · 861 Bytes
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
# Services definition for running CLI commands
name: fluffevent-help-cli
services:
app-volumes:
# Build
image: matiboux/chown-volumes:latest
# Deploy
environment:
UID: ${DOCKER_UID:-${UID:-1000}}
VOLUMES: |
/app
volumes:
- ./app:/app
app:
# Extend
extends:
file: ./app/docker-compose-app.yml
service: app
# Build override
image: ${IMAGES_PREFIX:-app}-cli:${IMAGES_TAG:-latest}
build:
target: app_cli
args: !override
UID: ${DOCKER_UID:-${UID:-1000}}
# Deploy override
depends_on:
app-volumes:
condition: service_completed_successfully
user: ${DOCKER_UID:-${UID:-1000}}
environment: !reset null
tmpfs:
- /tmp:mode=1777,exec,uid=${DOCKER_UID:-${UID:-1000}},gid=0
volumes:
- ./app:/app
ports: !reset null