mirror of
https://github.com/Team4388/ScoutingApp2022.git
synced 2026-06-08 16:28:04 -06:00
32 lines
747 B
YAML
32 lines
747 B
YAML
version: "3"
|
|
|
|
services:
|
|
couchdb:
|
|
container_name: "scouting-couchdb"
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
build:
|
|
context: ./couchdb
|
|
dockerfile: ./Dockerfile
|
|
expose:
|
|
- 5984
|
|
ports:
|
|
- "5984:5984"
|
|
environment:
|
|
- COUCHDB_HOST=couchdb
|
|
- COUCHDB_PORT=5984
|
|
- COUCHDB_USER=${COUCHDB_USER}
|
|
- COUCHDB_PASSWORD=${COUCHDB_PASSWORD}
|
|
volumes:
|
|
- ./couchdb/db.local.ini:/opt/couchdb/etc/local.ini
|
|
- ./couchdb/data:/opt/couchdb/data
|
|
# couch-ssl-proxy:
|
|
# image: fsouza/docker-ssl-proxy
|
|
# ports:
|
|
# - "5985:5985"
|
|
# environment:
|
|
# - DOMAIN=10.43.88.1
|
|
# - TARGET_PORT=5984
|
|
# - TARGET_HOST=scouting-couchdb
|
|
# - SSL_PORT:5985 |