working version
This commit is contained in:
@@ -10,6 +10,11 @@ services:
|
|||||||
image: mariadb:jammy
|
image: mariadb:jammy
|
||||||
container_name: chevereto-db
|
container_name: chevereto-db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
@@ -19,21 +24,18 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
PUID: 1000
|
PUID: 1000
|
||||||
PGID: 1000
|
PGID: 1000
|
||||||
CHEVERETO_MAX_UPLOAD_SIZE: 1G
|
MYSQL_ROOT_PASSWORD: ${DB_ROOTPASSWORD}
|
||||||
CHEVERETO_MAX_POST_SIZE: 1G
|
MYSQL_DATABASE: chevereto
|
||||||
CHEVERETO_DB_NAME: chevereto
|
MYSQL_USER: chevereto
|
||||||
CHEVERETO_DB_PORT: 3306
|
MYSQL_PASSWORD: ${DB_PASSWORD}
|
||||||
CHEVERETO_DB_PASS: ${DB_PASSWORD}
|
|
||||||
CHEVERETO_DB_USER: chevereto
|
|
||||||
CHEVERETO_DB_HOST: database
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /home/fxequals/docker/chevereto/database:/var/www/html/images
|
- chevereto-database:/var/lib/mysql
|
||||||
|
|
||||||
chevereto-server:
|
chevereto-server:
|
||||||
image: mariadb:jammy
|
image: chevereto/chevereto:latest
|
||||||
container_name: chevereto-server
|
container_name: chevereto-server
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
@@ -45,12 +47,12 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
PUID: 1000
|
PUID: 1000
|
||||||
PGID: 1000
|
PGID: 1000
|
||||||
CHEVERETO_DB_HOST: database
|
CHEVERETO_DB_HOST: chevereto-db
|
||||||
CHEVERETO_DB_USER: chevereto
|
CHEVERETO_DB_USER: chevereto
|
||||||
CHEVERETO_DB_PASS: user_database_password
|
CHEVERETO_DB_PASS: ${DB_PASSWORD}
|
||||||
CHEVERETO_DB_PORT: 3306
|
CHEVERETO_DB_PORT: 3306
|
||||||
CHEVERETO_DB_NAME: chevereto
|
CHEVERETO_DB_NAME: chevereto
|
||||||
CHEVERETO_HOSTNAME: ignitedinspirations.net
|
CHEVERETO_HOSTNAME: photos.ignitedinspirations.net
|
||||||
CHEVERETO_HOSTNAME_PATH: /
|
CHEVERETO_HOSTNAME_PATH: /
|
||||||
CHEVERETO_HTTPS: 1
|
CHEVERETO_HTTPS: 1
|
||||||
CHEVERETO_MAX_POST_SIZE: 1G
|
CHEVERETO_MAX_POST_SIZE: 1G
|
||||||
@@ -60,8 +62,13 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /home/fxequals/docker/chevereto/storage:/var/www/html/images/
|
- chevereto-storage:/var/www/html/images/
|
||||||
- /home/fxequals/docker/chevereto/app:/var/www/html/
|
- chevereto-app:/var/www/html/
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
database:
|
||||||
|
storage:
|
||||||
|
app:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
Reference in New Issue
Block a user