mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-21 19:03:08 +00:00
chore: split compose files/rename ssl conf
This commit is contained in:
parent
655ff4f955
commit
4f127e4110
4 changed files with 14 additions and 7 deletions
|
@ -4,7 +4,7 @@ services:
|
|||
environment:
|
||||
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
||||
POSTGRES_USER: "${POSTGRES_USER}"
|
||||
|
||||
|
||||
app:
|
||||
env_file: .env
|
||||
|
||||
|
@ -22,10 +22,10 @@ services:
|
|||
command: sh -c 'cp -a /app/static/. /transfer/ && tail -f /etc/passwd'
|
||||
volumes:
|
||||
- graphiql:/transfer
|
||||
depends_on:
|
||||
depends_on:
|
||||
- graphql-engine
|
||||
|
||||
volumes:
|
||||
volumes:
|
||||
graphiql:
|
||||
|
||||
# docker-compose -f docker-compose.yml -f Resources/compose/docker-compose-graphql.yml up
|
||||
# docker-compose -f docker-compose.yml -f Resources/compose/docker-compose-prod-graphql.yml up -d
|
||||
|
|
9
docker-compose-dev.yml
Normal file
9
docker-compose-dev.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
version: '2.4'
|
||||
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Resources/docker/app/Dockerfile
|
||||
|
||||
# # docker-compose -f docker-compose.yml -f Resources/compose/docker-compose-dev.yml up -d
|
|
@ -17,9 +17,7 @@ services:
|
|||
restart: always
|
||||
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Resources/docker/app/Dockerfile
|
||||
image: pokeapi/pokeapi:master
|
||||
user: ${RUN_AS:-pokeapi}
|
||||
environment:
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-pokemon}
|
||||
|
|
Loading…
Reference in a new issue