diff --git a/docker-compose.yml b/docker-compose.yml index 4e69e37..38c2b96 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,16 +1,16 @@ services: proxy: - image: proxy + image: ${PROXY_CONTAINER_NAME} build: ./proxy - container_name: proxy + container_name: ${PROXY_CONTAINER_NAME} depends_on: - devblog_client volumes: - - /home/devmaster/app/proxy/default.conf:/etc/nginx/conf.d/default.conf - - /etc/ssl/certs/${DEVBLOG_CERT_NAME}:/etc/ssl/certs/${DEVBLOG_CERT_NAME} + - ${PROXY_CONFIG_VOLUME} + - ${CLIENT_SSL_VOLUME} restart: on-failure ports: - - 443:443 + - ${SSL_PORTS} devblog_client: image: ${DEVBLOG_CONTAINER_NAME} @@ -18,8 +18,8 @@ services: container_name: ${DEVBLOG_CONTAINER_NAME} restart: on-failure volumes: - - ./client/dist:/app - - ./client/nginx.conf:/etc/nginx/nginx.conf - - /etc/ssl/certs/${DEVBLOG_CERT_NAME}:/etc/ssl/certs/${DEVBLOG_CERT_NAME} + - ${CLIENT_WASM_VOLUME} + - ${CLIENT_CONFIG_VOLUME} + - ${CLIENT_SSL_VOLUME} ports: - - 8082:443 \ No newline at end of file + - ${CLIENT_PORTS} \ No newline at end of file