forked from verdnatura/hedera-web
33 lines
782 B
YAML
33 lines
782 B
YAML
version: '3.7'
|
|
services:
|
|
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
|
|
target: /etc/apache2/conf-enabled/vn-share.conf
|
|
volumes:
|
|
- /mnt/storage/image:/mnt/storage/image
|
|
- /mnt/storage/vn-access:/mnt/storage/vn-access
|
|
- /mnt/storage/share:/mnt/storage/share
|
|
deploy:
|
|
replicas: 2
|
|
configs:
|
|
config:
|
|
external: true
|
|
name: ${PROJECT_NAME:?}_config
|
|
test:
|
|
external: true
|
|
name: ${PROJECT_NAME:?}_test
|
|
apache:
|
|
external: true
|
|
name: ${PROJECT_NAME:?}_apache
|