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