compose file fix
This commit is contained in:
@@ -1,19 +1,21 @@
|
|||||||
version: '3'
|
#version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
website-WHAT_CONTAINER_NAME:
|
website-WHAT_CONTAINER_NAME:
|
||||||
container_name: WHAT_CONTAINER_NAME
|
container_name: WHAT_CONTAINER_NAME
|
||||||
#image: yeasy/simple-web
|
#image: yeasy/simple-web
|
||||||
image: registry.chiefsoft.com/pweb/pweb-01-merms-pweb0001:latest
|
image: registry.chiefsoft.com/pweb/pweb-01-merms-pweb0002:latest
|
||||||
|
pull_policy: always
|
||||||
ports:
|
ports:
|
||||||
- 'ALLOCATED_PORT:80'
|
- 'ALLOCATED_PORT:80'
|
||||||
restart: always
|
restart: always
|
||||||
volumes: ['DESTINATION_FOLDER:/var/www/html']
|
volumes:
|
||||||
environment:
|
- ./writable:/var/www/html/writable:Z
|
||||||
- APACHE_RUN_USER=1000
|
- ./apache_log:/var/log/apache2:Z
|
||||||
- APACHE_RUN_GROUP=1000
|
# environment:
|
||||||
networks:
|
# - APACHE_RUN_USER=1000
|
||||||
- sitenet
|
# - APACHE_RUN_GROUP=1000
|
||||||
|
# networks:
|
||||||
networks:
|
# - sitenet
|
||||||
sitenet:
|
#
|
||||||
|
#networks:
|
||||||
|
# sitenet:
|
||||||
|
|||||||
@@ -1,19 +1,21 @@
|
|||||||
version: '3'
|
#version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
website-WHAT_CONTAINER_NAME:
|
website-WHAT_CONTAINER_NAME:
|
||||||
container_name: WHAT_CONTAINER_NAME
|
container_name: WHAT_CONTAINER_NAME
|
||||||
#image: yeasy/simple-web
|
#image: yeasy/simple-web
|
||||||
image: registry.chiefsoft.com/pweb/pweb-01-merms-pweb0001:latest
|
image: registry.chiefsoft.com/pweb/pweb-01-merms-pweb0002:latest
|
||||||
|
pull_policy: always
|
||||||
ports:
|
ports:
|
||||||
- 'ALLOCATED_PORT:80'
|
- 'ALLOCATED_PORT:80'
|
||||||
restart: always
|
restart: always
|
||||||
volumes: ['DESTINATION_FOLDER:/var/www/html']
|
volumes:
|
||||||
environment:
|
- ./writable:/var/www/html/writable:Z
|
||||||
- APACHE_RUN_USER=1000
|
- ./apache_log:/var/log/apache2:Z
|
||||||
- APACHE_RUN_GROUP=1000
|
# environment:
|
||||||
networks:
|
# - APACHE_RUN_USER=1000
|
||||||
- sitenet
|
# - APACHE_RUN_GROUP=1000
|
||||||
|
# networks:
|
||||||
networks:
|
# - sitenet
|
||||||
sitenet:
|
#
|
||||||
|
#networks:
|
||||||
|
# sitenet:
|
||||||
|
|||||||
Reference in New Issue
Block a user