wikindx/examples/docker-compose/docker-compose.yml
Dominik Meyer 53333aebca
MOD: update and new structure
The structure of the wikindx container has been totally reworked and
now uses two containers, one running php-fpm and the second running
nginx.
2024-01-16 22:30:28 +01:00

41 lines
1.0 KiB
YAML

#
# Example docker compose file for starting WIKINDX
#
# This compose file will not mount any volumes. You should know how to
# mount volumes for the maridadb image to keep you data over restarts.
#
# This is really only a very small example!!!!!!!
# Do not run this code if you do not know anything about container security
# and system administration.
#
---
version: "2.1"
services:
dbwikindx:
restart: unless-stopped
image: mariadb:latest
environment:
MYSQL_ROOT_PASSWORD: "dlksafhlasdhflkdsafhld!&53463472ZklHLFE"
MYSQL_DATABASE: wikindx
MYSQL_USER: wikindx
MYSQL_PASSWORD: "fhghtzrghglhjthgfg23!4"
fpmwikindx:
restart: unless-stopped
image: wikindx:fpm-latest
environment:
WIKINDX_DB_HOST: "dbwikindx"
WIKINDX_DB: "wikindx"
WIKINDX_DB_USER: "wikindx"
WIKINDX_DB_PASSWORD: "fhghtzrghglhjthgfg23!4"
nginxwikindx:
restart: unless-stopped
image: wikindx:nginx-latest
ports:
- "8080:8080"
environment:
WIKINDX_FPM_URL: "fpmwikindx:9000"