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'