version: "3.3"
services:
web:
image: gameflowtv/unleash-server:google
ports:
- "4242:4242"
environment:
DATABASE_URL: postgres://username:password@hostname/database
GOOGLE_CLIENT_ID: ...
GOOGLE_CLIENT_SECRET: ...
GOOGLE_CALLBACK_URL: ...
SHARED_SECRET: ...
command: >
sh -c "
while ! nc -z db 5432; do
echo 'Postgres is unavailable.'
sleep 1
done
npm run start"
version: "3.3"
services:
web:
image: gameflowtv/unleash-server:google
ports:
- "4242:4242"
environment:
DATABASE_URL: postgres://postgres:unleash@db/postgres
GOOGLE_CLIENT_ID: ...
GOOGLE_CLIENT_SECRET: ...
GOOGLE_CALLBACK_URL: ...
SHARED_SECRET: ...
command: >
sh -c "
while ! nc -z db 5432; do
echo 'Postgres is unavailable.'
sleep 1
done
npm run start"
depends_on:
- db
command: >
sh -c "
while ! nc -z db 5432; do
echo 'Postgres is unavailable.'
sleep 1
done
npm run start"
db:
expose:
- "5432"
image: postgres:10-alpine
environment:
POSTGRES_DB: "db"
POSTGRES_HOST_AUTH_METHOD: "trust"
Content type
Image
Digest
Size
46.2 MB
Last updated
over 6 years ago
docker pull gameflowtv/unleash-server