70 lines
1.4 KiB
YAML
70 lines
1.4 KiB
YAML
services:
|
|
wp_db:
|
|
|
|
image: mariadb:10.6.4-focal
|
|
command: '--default-authentication-plugin=mysql_native_password'
|
|
volumes:
|
|
- wp_db_data:/var/lib/mysql
|
|
restart: always
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=somewordpress
|
|
- MYSQL_DATABASE=wordpress
|
|
- MYSQL_USER=wordpress
|
|
- MYSQL_PASSWORD=wordpress
|
|
expose:
|
|
- 3306
|
|
- 33060
|
|
wordpress:
|
|
image: wordpress:latest
|
|
volumes:
|
|
- wp_data:/var/www/html
|
|
ports:
|
|
- 52384:80
|
|
restart: always
|
|
environment:
|
|
- WORDPRESS_DB_HOST=wp_db
|
|
- WORDPRESS_DB_USER=wordpress
|
|
- WORDPRESS_DB_PASSWORD=wordpress
|
|
- WORDPRESS_DB_NAME=wordpress
|
|
|
|
db:
|
|
image: postgres:latest
|
|
container_name: db
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: 1234
|
|
POSTGRES_DB: postgres
|
|
volumes:
|
|
- db_data:/var/lib/postgresql
|
|
|
|
redmine:
|
|
image: redmine:latest
|
|
container_name: redmine
|
|
ports:
|
|
- "11001:3000"
|
|
environment:
|
|
- REDMINE_DB_POSTGRESQL=db
|
|
- REDMINE_DB_DATABASE=redmine
|
|
- REDMINE_DB_USERNAME=posgres
|
|
- REDMINE_DB_PASSWORD=1234
|
|
depends_on:
|
|
- db
|
|
|
|
gitea:
|
|
image: gitea/gitea:latest
|
|
container_name: gitea
|
|
ports:
|
|
- "11002:3000"
|
|
environment:
|
|
- USER_UID=1000
|
|
- USER_GID=1000
|
|
volumes:
|
|
- gitea_data:/data
|
|
|
|
volumes:
|
|
wp_db_data:
|
|
wp_data:
|
|
db_data:
|
|
redmine_db_data:
|
|
gitea_data:
|