1
0
ohmyform/docker-compose.yml

40 lines
821 B
YAML
Raw Normal View History

2020-06-04 02:59:50 -07:00
# WARNING!! This is to build from source
# to use a version that is prebuilt copy one of the entries from the examples folder!
2019-04-29 19:09:25 -07:00
version: "3"
services:
redis:
image: redis
2020-06-01 13:11:00 -07:00
ohmyform:
build: .
2020-05-31 18:43:50 -07:00
environment:
2020-06-01 13:11:00 -07:00
CREATE_ADMIN: "TRUE"
2020-05-31 18:43:50 -07:00
MAILER_URI: smtp://mail:1025
DATABASE_DRIVER: postgres
DATABASE_URL: postgresql://root:root@db:5432/ohmyform
LOGIN_NOTE: "login with root:root!"
SECRET_KEY: 12345
2019-04-29 19:09:25 -07:00
links:
- db
2019-04-29 19:09:25 -07:00
- redis
2019-07-12 02:00:31 -07:00
- mail
2019-04-29 19:09:25 -07:00
ports:
- "5200:3000"
2019-04-29 19:09:25 -07:00
depends_on:
- db
2019-04-29 19:09:25 -07:00
- redis
2019-07-11 16:17:21 -07:00
mail:
image: mailhog/mailhog
2019-04-29 19:09:25 -07:00
ports:
- "5051:8025"
db:
image: postgres:10-alpine
volumes:
- ./pg_data:/var/lib/postgresql/data
2019-07-15 06:02:21 -07:00
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: ohmyform