2020-01-20 21:26:15 +00:00
|
|
|
version: '3.7'
|
|
|
|
services:
|
2020-01-21 08:32:19 +00:00
|
|
|
web:
|
|
|
|
image: registry.verdnatura.es/hedera-web
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
ports:
|
|
|
|
- ${PORT:?}:80
|
|
|
|
configs:
|
|
|
|
- source: config
|
|
|
|
target: /etc/hedera-web/config.my.php
|
|
|
|
- source: test
|
|
|
|
target: /etc/hedera-web/config.test.php
|
|
|
|
- source: apache
|
2020-01-21 16:08:04 +00:00
|
|
|
target: /etc/apache2/conf-enabled/vn-share.conf
|
2020-01-21 08:32:19 +00:00
|
|
|
volumes:
|
|
|
|
- /mnt/storage/image:/mnt/storage/image
|
|
|
|
- /mnt/storage/vn-access:/mnt/storage/vn-access
|
|
|
|
- /mnt/storage/share:/mnt/storage/share
|
|
|
|
deploy:
|
|
|
|
replicas: 2
|
2020-01-20 21:26:15 +00:00
|
|
|
configs:
|
|
|
|
config:
|
|
|
|
external: true
|
|
|
|
name: ${PROJECT_NAME:?}_config
|
|
|
|
test:
|
|
|
|
external: true
|
|
|
|
name: ${PROJECT_NAME:?}_test
|
|
|
|
apache:
|
|
|
|
external: true
|
2020-01-21 08:00:03 +00:00
|
|
|
name: ${PROJECT_NAME:?}_apache
|