You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
843 B

version: '3.1'
services:
app:
build:
context: ..
dockerfile: ./deploy/Dockerfile
container_name: rust_solid_cassandra
restart: 'no'
environment:
WEBSERVER_ADDRESS: '0.0.0.0'
WEBSERVER_PORT: '6969'
CASSANDRA_SERVER_ADDRESS: 'cassandra'
CASSANDRA_KEYSPACE_NAME: 'rust_solidjs_cassandra'
volumes:
- ../data/app/cert:/cert
ports:
- '6969:6969'
depends_on:
- db
db:
image: cassandra:latest
container_name: cassandra
restart: 'no'
hostname: cassandra
volumes:
- ../data/cassandra:/var/lib/cassandra
# DEVEL
ports:
- '9042:9042'
# proxy:
# image: caddy/caddy:latest
# container_name: caddy
# restart: 'no'
# volumes:
# - ../data/caddy/Caddyfile:/etc/caddy/Caddyfile
# ports:
# - '6969:443'