-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
37 lines (33 loc) · 1.06 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: "3.4"
services:
nginx_rnamining:
build: ./build/nginx
#ports:
# - "80:80"
container_name: rnamining_webserver
volumes:
- ./volumes/rnamining-front:${DOCUMENT_ROOT}
depends_on:
- php_rnamining
networks:
- gatewayapps_proxy
- php
restart: always
php_rnamining:
build: ./build/php
container_name: rnamining_php
volumes:
# - ./.git/modules/volumes/rnamining-front:/var/.git/modules/volumes/rnamining-front
- ./volumes/rnamining-front:${DOCUMENT_ROOT}
networks:
- php
#environment:
# - REPOSITORY=${REPOSITORY}
# - BRANCH_STABLE=${BRANCH_STABLE}
# - TOKEN=${TOKEN}
restart: always
#command: /bin/bash -c "envsubst '$${REPOSITORY} $${BRANCH_STABLE} $${TOKEN}' < /tmp/deploy-config.php > /var/volumes/rnamining-front/hook/deploy-config.php && php-fpm"
networks:
php:
gatewayapps_proxy:
external: true