You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
767 B
37 lines
767 B
version: '3.8'
|
|
services:
|
|
# mariadb:
|
|
# image: mariadb
|
|
# restart: on-failure
|
|
# volumes:
|
|
# - database_pokedex:/var/lib/mysql
|
|
# ports:
|
|
# - '3306:3306'
|
|
# environment:
|
|
# MYSQL_ROOT_PASSWORD: root_password
|
|
# MYSQL_USER: my_user
|
|
# MYSQL_PASSWORD: my_password
|
|
# MYSQL_DATABASE: my_pokedex
|
|
|
|
nginx:
|
|
image: nginx:1.19-alpine
|
|
restart: on-failure
|
|
volumes:
|
|
- './docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro'
|
|
ports:
|
|
- '80:80'
|
|
depends_on:
|
|
- php
|
|
volumes_from:
|
|
- php
|
|
php:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/php/Dockerfile
|
|
restart: on-failure
|
|
volumes:
|
|
- '.:/usr/src/app'
|
|
user: 1000:1000
|
|
|
|
# volumes:
|
|
# database_pokedex:
|