Build and smoke-test AutoLibrary as a container
Build and test website container / build (push) Successful in 11m33s
Build and test website container / build (push) Successful in 11m33s
This commit is contained in:
1 parent
e7bd715243
commit
9065a0d3cf
9 files changed
+219
-9
No files matched your search
@@ -0,0 +1,33 @@
|
||||
services:
|
||||
website:
|
||||
image: ${AUTOLIBRARY_IMAGE:?Set AUTOLIBRARY_IMAGE}
|
||||
user: "${AUTOLIBRARY_UID:-10001}:${AUTOLIBRARY_GID:-10001}"
|
||||
network_mode: host
|
||||
environment:
|
||||
AUTOLIBRARY_HTTP_PORT: "${AUTOLIBRARY_HTTP_PORT:-3003}"
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 20s
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp:mode=1777
|
||||
cap_drop:
|
||||
- ALL
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ${AUTOLIBRARY_CONFIG:?Set AUTOLIBRARY_CONFIG}
|
||||
target: /app/config.json
|
||||
read_only: true
|
||||
bind:
|
||||
create_host_path: false
|
||||
- type: bind
|
||||
source: ${AUTOLIBRARY_DATA_DIR:?Set AUTOLIBRARY_DATA_DIR}
|
||||
target: /app/backend/data
|
||||
bind:
|
||||
create_host_path: false
|
||||
- type: bind
|
||||
source: ${AUTOLIBRARY_LOG_DIR:?Set AUTOLIBRARY_LOG_DIR}
|
||||
target: /app/logs
|
||||
bind:
|
||||
create_host_path: false
|
||||
Reference in new issue
Block a user