mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-08-28 22:47:18 +02:00
- add node service in docker-compose.yml - update .devcontainer Dockerfile by adding node, npm and vim - init package.json for npm with tailwindcss, postcss, commitlint and commitizen as dev dependencies - update default layout main header and footer - replace CI's welcome_message.php with home.php listing all podcasts - add AUTHORS.md file - add docs folder in which to place castopod's technical documentation
73 lines
1.3 KiB
YAML
73 lines
1.3 KiB
YAML
version: "3"
|
|
|
|
networks:
|
|
castopod:
|
|
|
|
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: "castopod_app"
|
|
command: ["php", "spark", "serve", "--host", "0.0.0.0"]
|
|
ports:
|
|
- 8080:8080
|
|
volumes:
|
|
- .:/castopod
|
|
depends_on:
|
|
- mariadb
|
|
networks:
|
|
- castopod
|
|
|
|
mariadb:
|
|
image: mariadb:latest
|
|
container_name: castopod_mariadb
|
|
ports:
|
|
- 3306:3306
|
|
volumes:
|
|
- mariadb:/var/lib/mysql
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: root
|
|
MYSQL_DATABASE: castopod
|
|
MYSQL_USER: podlibre
|
|
MYSQL_PASSWORD: castopod
|
|
networks:
|
|
- castopod
|
|
|
|
phpmyadmin:
|
|
image: phpmyadmin/phpmyadmin:latest
|
|
container_name: castopod_phpmyadmin
|
|
environment:
|
|
PMA_HOST: mariadb
|
|
PMA_PORT: 3306
|
|
ports:
|
|
- 8888:80
|
|
volumes:
|
|
- phpmyadmin:/sessions
|
|
depends_on:
|
|
- mariadb
|
|
networks:
|
|
- castopod
|
|
|
|
composer:
|
|
image: composer:latest
|
|
container_name: castopod_composer
|
|
volumes:
|
|
- .:/var/www/html
|
|
working_dir: /var/www/html
|
|
networks:
|
|
- castopod
|
|
|
|
node:
|
|
image: node:lts
|
|
container_name: castopod_node
|
|
volumes:
|
|
- .:/usr/src/app
|
|
working_dir: /usr/src/app
|
|
networks:
|
|
- castopod
|
|
|
|
volumes:
|
|
mariadb:
|
|
phpmyadmin:
|