compose file fix

This commit is contained in:
CHIEFSOFT\ameye
2025-07-19 08:21:37 -04:00
parent 4e5b590241
commit b76d3b4bd0
2 changed files with 28 additions and 24 deletions
@@ -1,19 +1,21 @@
version: '3'
#version: '3'
services:
website-WHAT_CONTAINER_NAME:
container_name: WHAT_CONTAINER_NAME
#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:
- 'ALLOCATED_PORT:80'
restart: always
volumes: ['DESTINATION_FOLDER:/var/www/html']
environment:
- APACHE_RUN_USER=1000
- APACHE_RUN_GROUP=1000
networks:
- sitenet
networks:
sitenet:
volumes:
- ./writable:/var/www/html/writable:Z
- ./apache_log:/var/log/apache2:Z
# environment:
# - APACHE_RUN_USER=1000
# - APACHE_RUN_GROUP=1000
# networks:
# - sitenet
#
#networks:
# sitenet:
@@ -1,19 +1,21 @@
version: '3'
#version: '3'
services:
website-WHAT_CONTAINER_NAME:
container_name: WHAT_CONTAINER_NAME
#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:
- 'ALLOCATED_PORT:80'
restart: always
volumes: ['DESTINATION_FOLDER:/var/www/html']
environment:
- APACHE_RUN_USER=1000
- APACHE_RUN_GROUP=1000
networks:
- sitenet
networks:
sitenet:
volumes:
- ./writable:/var/www/html/writable:Z
- ./apache_log:/var/log/apache2:Z
# environment:
# - APACHE_RUN_USER=1000
# - APACHE_RUN_GROUP=1000
# networks:
# - sitenet
#
#networks:
# sitenet: