remove comments

This commit is contained in:
Jean-Christian Denis 2024-11-13 09:09:02 +01:00
parent 5a1d3b4378
commit 12ab252b8d
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -1,6 +1,9 @@
services: # jcpd/docker-dotclear:latest
volumes:
dc_app:
dc_db:
# MYSQL database service services:
dc_db: dc_db:
image: mariadb:latest image: mariadb:latest
container_name: dotcleardb container_name: dotcleardb
@ -14,28 +17,21 @@ services:
MYSQL_USER: dotclear_user MYSQL_USER: dotclear_user
MYSQL_PASSWORD: dotclear_pwd MYSQL_PASSWORD: dotclear_pwd
# Dotclear server service
dc_app: dc_app:
image: jcpd/docker-dotclear:latest image: jcpd/docker-dotclear:latest
container_name: dotclearphp container_name: dotclearphp
restart: unless-stopped restart: unless-stopped
volumes: volumes:
#- dc_app:/var/www/dotclear # docker volume or - dc_app:/var/www/dotclear
- ./dotclear:/var/www/dotclear # system path
ports: ports:
- 80:80 - 80:80
depends_on: depends_on:
- dc_db # MYSQL database service - dc_db
environment: environment:
# These variables are only used for first install, see inc/config.php DC_DBDRIVER: mysqlimb4
DC_DBDRIVER: mysqlimb4 # MYSQL full UTF-8 DC_DBHOST: dc_db
DC_DBHOST: dc_db # MYSQL database service DC_DBNAME: dotclear_db
DC_DBNAME: dotclear_db # MYSQL_DATABASE DC_DBUSER: dotclear_user
DC_DBUSER: dotclear_user # MYSQL_USER DC_DBPASSWORD: dotclear_pwd
DC_DBPASSWORD: dotclear_pwd # MYSQL_PASSWORD DC_DBPREFIX: dc_
DC_DBPREFIX: dc_ # Database tables prefix DC_ADMINMAILFROM: contact@exemple.com
DC_ADMINMAILFROM: contact@exemple.com # Dotclear mail from
volumes:
# dc_app: # Dotclear volume
dc_db: # MYSQL volume