mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-28 19:23:22 +01:00
37 lines
860 B
YAML
37 lines
860 B
YAML
---
|
|
services:
|
|
mariadb:
|
|
image: docker.io/linuxserver/mariadb:10.11.8
|
|
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: docker.io/linuxserver/swag:2.11.0
|
|
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
|
|
- 80:80 # optional
|
|
depends_on:
|
|
- mariadb
|
|
restart: unless-stopped
|