Standardize Tukutoi deployment layout
This commit is contained in:
commit
e3c55c12b8
6 files changed
+117
No files matched your search
@@ -0,0 +1,48 @@
|
||||
name: tukutoi-validate
|
||||
|
||||
services:
|
||||
tukutoi:
|
||||
image: tukutoi-validate-tukutoi
|
||||
build:
|
||||
context: .
|
||||
network: host
|
||||
container_name: tukutoi
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
GNUPGHOME: /var/www/.gnupg
|
||||
volumes:
|
||||
- type: bind
|
||||
source: /srv/docker/tukutoi-validate/apache.conf
|
||||
target: /etc/apache2/sites-available/000-default.conf
|
||||
read_only: true
|
||||
bind:
|
||||
create_host_path: false
|
||||
- type: bind
|
||||
source: /srv/appdata/tukutoi-validate/html
|
||||
target: /var/www/html
|
||||
bind:
|
||||
create_host_path: false
|
||||
- type: bind
|
||||
source: /srv/appdata/tukutoi-validate/tmp
|
||||
target: /var/www/html/tmp
|
||||
bind:
|
||||
create_host_path: false
|
||||
- type: bind
|
||||
source: /srv/docker/secrets/tukutoi-validate/gnupg
|
||||
target: /var/www/.gnupg
|
||||
bind:
|
||||
create_host_path: false
|
||||
networks:
|
||||
npm_proxy:
|
||||
ipv4_address: 192.168.99.15
|
||||
cap_drop:
|
||||
- ALL
|
||||
cap_add:
|
||||
- CHOWN
|
||||
- SETGID
|
||||
- SETUID
|
||||
- DAC_OVERRIDE
|
||||
|
||||
networks:
|
||||
npm_proxy:
|
||||
external: true
|
||||
Reference in new issue
Block a user