55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
name: anamaka
|
|
|
|
services:
|
|
anamaka:
|
|
image: anamaka-anamaka
|
|
build:
|
|
context: .
|
|
network: host
|
|
container_name: anamaka
|
|
restart: unless-stopped
|
|
environment:
|
|
GNUPGHOME: /var/www/.gnupg
|
|
volumes:
|
|
- type: bind
|
|
source: /srv/docker/anamaka/apache.conf
|
|
target: /etc/apache2/sites-available/000-default.conf
|
|
read_only: true
|
|
bind:
|
|
create_host_path: false
|
|
- type: bind
|
|
source: /srv/appdata/anamaka/html
|
|
target: /var/www/html
|
|
bind:
|
|
create_host_path: false
|
|
- type: bind
|
|
source: /srv/appdata/anamaka/tmp
|
|
target: /var/www/html/tmp
|
|
bind:
|
|
create_host_path: false
|
|
- type: bind
|
|
source: /srv/docker/secrets/anamaka/gnupg
|
|
target: /var/www/.gnupg
|
|
bind:
|
|
create_host_path: false
|
|
- type: bind
|
|
source: /srv/appdata/anamaka/mta-sts
|
|
target: /var/www/mta-sts
|
|
read_only: true
|
|
bind:
|
|
create_host_path: false
|
|
networks:
|
|
npm_proxy:
|
|
ipv4_address: 192.168.99.16
|
|
cap_drop:
|
|
- ALL
|
|
cap_add:
|
|
- CHOWN
|
|
- SETGID
|
|
- SETUID
|
|
- DAC_OVERRIDE
|
|
|
|
networks:
|
|
npm_proxy:
|
|
external: true
|