1
0
ohmyform/api/docker-compose.yml
Michael Schramm 9c4c325e5a
Switch to single branch (#221)
* remove submodules
* add api and ui files
* update github actions
* use sparse checkout
* update node setup
* update checkout
* update docker
* change permissions
* update mariadb health check
* update changelog
2023-12-02 19:22:40 +01:00

66 lines
1.2 KiB
YAML

version: "3"
services:
#mongo:
# image: mongo
# ports:
# - "27017:27017"
# volumes:
# - "./data/mongo:/data/db"
maria:
image: mariadb
volumes:
- ./maria_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: ohmyform
ports:
- "3306:3306"
postgres:
image: postgres:10-alpine
volumes:
- ./pg_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: ohmyform
ports:
- "5432:5432"
redis:
image: redis
ports:
- "6003:6379"
# api:
# build: .
# volumes:
# - ".:/usr/src/app"
# environment:
# MONGODB_URI: mongodb://mongo/ohmyform
# MAILER_URI: smtp://mail:1025
# PORT: 3000
#command: yarn start:dev
# links:
# - mongo
# - mail
# ports:
# - "6100:3000"
# depends_on:
# - mongo
mail:
image: mailhog/mailhog
ports:
- "6001:8025"
- "6004:1025"
#mongoexpress:
# image: mongo-express
# environment:
# ME_CONFIG_MONGODB_SERVER: mongo
# ports:
# - "6002:8081"
# links:
# - mongo
# depends_on:
# - mongo