(version Crystal avec Amber framework) Gérer sa collection de jeux vidéos, consoles et figurines. Et plus si affinités.
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.
 
 
 
 
 
 

42 lines
840 B

version: '2'
services:
app:
build: .
image: carnetdejeu
command: amber watch
environment:
DATABASE_URL: postgres://admin:password@db:5432/carnetdejeu_development
ports:
- 3000:3000
links:
- db
volumes:
- .:/app
- nodes:/app/node_modules
- shards:/app/lib
migrate:
build: .
image: carnetdejeu
command: bash -c 'while ! nc -q 1 db 5432 </dev/null; do sleep 1; done && amber db migrate seed'
environment:
DATABASE_URL: postgres://admin:password@db:5432/carnetdejeu_development
volumes:
- .:/app
links:
- db
db:
image: postgres
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: password
POSTGRES_DB: carnetdejeu_development
volumes:
- db:/var/lib/postgres/data
volumes:
db:
nodes:
shards: