diff --git a/ANSIBLE/templates/composers/A000001/docker-compose.yml b/ANSIBLE/templates/composers/A000001/docker-compose.yml index 73e4ddc..5adac1f 100644 --- a/ANSIBLE/templates/composers/A000001/docker-compose.yml +++ b/ANSIBLE/templates/composers/A000001/docker-compose.yml @@ -3,16 +3,15 @@ version: '3' services: website-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 ports: - 'ALLOCATED_PORT:80' restart: always volumes: ['DESTINATION_FOLDER:/var/www/html'] -# environment: -# WORDPRESS_DB_HOST: d b:3306 -# WORDPRESS_DB_USER: bloguser -# WORDPRESS_DB_PASSWORD: CNT_DB_PASS -# WORDPRESS_DB_NAME: CNT_DB_NAME + environment: + - APACHE_RUN_USER=1000 + - APACHE_RUN_GROUP=1000 networks: - sitenet diff --git a/ANSIBLE/templates/composers/A000002/docker-compose.yml b/ANSIBLE/templates/composers/A000002/docker-compose.yml index a9f5855..be868e6 100644 --- a/ANSIBLE/templates/composers/A000002/docker-compose.yml +++ b/ANSIBLE/templates/composers/A000002/docker-compose.yml @@ -3,18 +3,17 @@ version: '3' services: website-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 ports: - 'ALLOCATED_PORT:80' restart: always volumes: ['DESTINATION_FOLDER:/var/www/html'] - # environment: - # WORDPRESS_DB_HOST: db:3306 - # WORDPRESS_DB_USER: bloguser - # WORDPRESS_DB_PASSWORD: CNT_DB_PASS - # WORDPRESS_DB_NAME: CNT_DB_NAME + environment: + - APACHE_RUN_USER=1000 + - APACHE_RUN_GROUP=1000 networks: - sitenet networks: - sitenet: + sitenet: \ No newline at end of file