2021-06-11 15:05:20 +02:00
|
|
|
---
|
|
|
|
services:
|
|
|
|
mariadb:
|
|
|
|
image: linuxserver/mariadb
|
|
|
|
container_name: mariadb
|
|
|
|
environment:
|
|
|
|
- PUID=1001
|
|
|
|
- PGID=1001
|
|
|
|
- MYSQL_ROOT_PASSWORD=mariadbpassword
|
|
|
|
- TZ=Europe/Berlin
|
|
|
|
- MYSQL_DATABASE=WP_database
|
|
|
|
- MYSQL_USER=WP_dbuser
|
|
|
|
- MYSQL_PASSWORD=WP_dbpassword
|
|
|
|
volumes:
|
|
|
|
- /opt/webserver_swag/config/mariadb:/config
|
|
|
|
restart: unless-stopped
|
|
|
|
swag:
|
|
|
|
image: linuxserver/swag
|
|
|
|
container_name: swag
|
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
|
|
|
environment:
|
|
|
|
- PUID=1001
|
|
|
|
- PGID=1001
|
|
|
|
- TZ=Europe/Berlin
|
|
|
|
- URL=do-test-1.the-digital-life.com
|
|
|
|
- SUBDOMAINS=
|
|
|
|
- VALIDATION=http
|
|
|
|
volumes:
|
|
|
|
- /opt/webserver_swag/config:/config
|
|
|
|
ports:
|
|
|
|
- 443:443
|
2023-05-25 14:26:13 +02:00
|
|
|
- 80:80 # optional
|
2021-06-11 15:05:20 +02:00
|
|
|
depends_on:
|
|
|
|
- mariadb
|
2024-02-22 19:01:59 +01:00
|
|
|
restart: unless-stopped
|