Skip to content

Instantly share code, notes, and snippets.

@akimichi
Last active March 14, 2022 20:41
Show Gist options
  • Save akimichi/31f76f3e34661e493c333dba35467b08 to your computer and use it in GitHub Desktop.
Save akimichi/31f76f3e34661e493c333dba35467b08 to your computer and use it in GitHub Desktop.
orcaqlとmongoqlを利用するための docker-compose.yml
version: '3.8'
services:
nginx:
container_name: nginx_service
build:
context: ./nginx/
dockerfile: ./Dockerfile
ports:
- "80:80"
links:
- orcaql:orcaql
volumes:
- /var/run/dbus:/var/run/dbus
- /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket
logging:
driver: json-file
options:
max-file: '1'
max-size: 3m
restart: always
orcaql:
container_name: orcaql_service
build:
context: ./orcaql/
dockerfile: ./Dockerfile
tty: true
ports:
- "4000:4000"
volumes:
- /var/run/dbus:/var/run/dbus
- /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket
logging:
driver: json-file
options:
max-file: '1'
max-size: 3m
restart: always
# mongoql:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment