mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 12:41:05 +01:00
Renamed containers
This commit is contained in:
parent
d71b2c632f
commit
3e5eeb94ec
@ -1,5 +1,12 @@
|
|||||||
# Role Docker Listmonk
|
# Role Docker Listmonk
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
Remember to run the installation script after the first setup, to initialize the Database
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose run --rm application ./listmonk --install
|
||||||
|
```
|
||||||
|
|
||||||
## Further Information
|
## Further Information
|
||||||
- https://listmonk.app/docs/installation/
|
- https://listmonk.app/docs/installation/
|
||||||
- https://github.com/knadh/listmonk/
|
- https://github.com/knadh/listmonk/
|
@ -1,5 +1,5 @@
|
|||||||
[app]
|
[app]
|
||||||
# Interface and port where the app will run its webserver. The default value
|
# Interface and port where the application will run its webserver. The default value
|
||||||
# of localhost will only listen to connections from the current machine. To
|
# of localhost will only listen to connections from the current machine. To
|
||||||
# listen on all interfaces use '0.0.0.0'. To listen on the default web address
|
# listen on all interfaces use '0.0.0.0'. To listen on the default web address
|
||||||
# port, use port 80 (this will require running with elevated permissions).
|
# port, use port 80 (this will require running with elevated permissions).
|
||||||
@ -9,12 +9,12 @@ address = "0.0.0.0:9000"
|
|||||||
# be replaced with a better multi-user, role-based authentication system.
|
# be replaced with a better multi-user, role-based authentication system.
|
||||||
# IMPORTANT: Leave both values empty to disable authentication on admin
|
# IMPORTANT: Leave both values empty to disable authentication on admin
|
||||||
# only where an external authentication is already setup.
|
# only where an external authentication is already setup.
|
||||||
admin_username = "listmonk"
|
admin_username = "{{listmonk_admin_username}}"
|
||||||
admin_password = "listmonk"
|
admin_password = "{{listmonk_admin_password}}"
|
||||||
|
|
||||||
# Database.
|
# Database.
|
||||||
[db]
|
[db]
|
||||||
host = "listmonk_db"
|
host = "database"
|
||||||
port = 5432
|
port = 5432
|
||||||
user = "listmonk"
|
user = "listmonk"
|
||||||
password = "{{listmonk_database_password}}"
|
password = "{{listmonk_database_password}}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
version: "3.7"
|
version: "3.7"
|
||||||
|
|
||||||
x-app-defaults: &app-defaults
|
x-application-defaults: &application-defaults
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: listmonk/listmonk:latest
|
image: listmonk/listmonk:latest
|
||||||
ports:
|
ports:
|
||||||
@ -14,7 +14,7 @@ x-app-defaults: &app-defaults
|
|||||||
environment:
|
environment:
|
||||||
- TZ=Etc/UTC
|
- TZ=Etc/UTC
|
||||||
|
|
||||||
x-db-defaults: &db-defaults
|
x-database-defaults: &database-defaults
|
||||||
image: postgres:13-alpine
|
image: postgres:13-alpine
|
||||||
ports:
|
ports:
|
||||||
- "9432:5432"
|
- "9432:5432"
|
||||||
@ -32,19 +32,19 @@ x-db-defaults: &db-defaults
|
|||||||
retries: 6
|
retries: 6
|
||||||
|
|
||||||
services:
|
services:
|
||||||
db:
|
database:
|
||||||
<<: *db-defaults
|
<<: *database-defaults
|
||||||
container_name: listmonk_db
|
container_name: database
|
||||||
volumes:
|
volumes:
|
||||||
- type: volume
|
- type: volume
|
||||||
source: listmonk-data
|
source: listmonk-data
|
||||||
target: /var/lib/postgresql/data
|
target: /var/lib/postgresql/data
|
||||||
|
|
||||||
app:
|
application:
|
||||||
<<: *app-defaults
|
<<: *application-defaults
|
||||||
container_name: listmonk_app
|
container_name: listmonk_application
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- database
|
||||||
volumes:
|
volumes:
|
||||||
- ./config.toml:/listmonk/config.toml
|
- ./config.toml:/listmonk/config.toml
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user