Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dadilje-web:
- container_name: "dadilje-api"
- image: hitalos/laravel:latest
- ports:
- - 4800:80
- volumes:
- - ./:/var/www
- # If you don't want to use default 'artisan serve' command, edit and uncomment the line below.
- command: php -S 0.0.0.0:80 -t public public/index.php
- dadilje-pgsql:
- image: postgres:10.1
- env_file: .env
- container_name: "dadilje-db"
- expose:
- - 6666
- environment:
- - 'DB_USER=${DB_PASSWORD}'
- - 'DB_PASS=${DB_PASSWORD}'
- volumes:
- - '${DB_VOLUME_LOCATION}:/var/lib/postgresql/data'
- ports:
- - "${DB_PORT}:${PGSQL_CONTAINER_PORT}"
- restart: 'always'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement