upd: docker-compose
Add logging notation
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user