upd: docker-compose

Add logging notation
This commit is contained in:
2026-03-26 19:58:21 -04:00
parent 5e6d63ef26
commit 2e4028d623
5 changed files with 61 additions and 7 deletions

View File

@@ -1,22 +1,34 @@
services:
sermon-notes:
image: gitea.rkprather.com/ryan/sermon-notes:latest
image: gitea.rkprather.com/ryan/sermon-notes:1.3
container_name: sermon-notes
hostname: sermon-notes
restart: unless-stopped
env_file: .env
ports:
- ${HTTP_PORT}:80
volumes:
- ${PWD}/.env:/var/www/html/.env
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
depends_on:
- db
db:
image: mariadb
image: mariadb:12.3
container_name: db
hostname: db
restart: unless-stopped
env_file: .env
volumes:
- ${PWD}/db_data:/var/lib/mysql

View File

@@ -1,22 +1,34 @@
services:
sermon-notes:
image: gitea.rkprather.com/ryan/sermon-notes:latest
image: gitea.rkprather.com/ryan/sermon-notes:1.3
container_name: sermon-notes
hostname: sermon-notes
restart: unless-stopped
env_file: .env
ports:
- ${HTTP_PORT}:80
volumes:
- ${PWD}/.env:/var/www/html/.env
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
depends_on:
- db
db:
image: mysql
image: mysql:9.6
container_name: db
hostname: db
restart: unless-stopped
env_file: .env
volumes:
- ${PWD}/db-data:/var/lib/mysql

View File

@@ -1,14 +1,24 @@
services:
sermon-notes:
container_name: sermon-notes
image: gitea.rkprather.com/ryan/sermon-notes:latest
image: gitea.rkprather.com/ryan/sermon-notes:1.3
hostname: sermon-notes
restart: unless-stopped
env_file: .env
ports:
- ${HTTP_PORT}:80
volumes:
- ${PWD}/.env:/var/www/html/.env
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
depends_on:
- db
@@ -17,7 +27,9 @@ services:
container_name: db
hostname: db
restart: unless-stopped
env_file: .env
volumes:
- ${PWD}/db-data:/var/lib/postgresql/data

View File

@@ -1,11 +1,20 @@
services:
sermon-notes:
image: gitea.rkprather.com/ryan/sermon-notes:latest
image: gitea.rkprather.com/ryan/sermon-notes:1.3
container_name: sermon-notes
hostname: sermon-notes
restart: unless-stopped
env_file: .env
ports:
- ${HTTP_PORT}:80
volumes:
- ${PWD}/.env:/var/www/html/.env
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"

View File

@@ -1,12 +1,21 @@
services:
sermon-notes:
image: gitea.rkprather.com/ryan/sermon-notes:latest
image: gitea.rkprather.com/ryan/sermon-notes:1.3
container_name: sermon-notes
hostname: sermon-notes
restart: unless-stopped
env_file: .env
ports:
- ${HTTP_PORT}:80
volumes:
- ${PWD}/data:/data
- ${PWD}/.env:/var/www/html/.env
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"