diff options
| -rw-r--r-- | docker-compose.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..fb5a694 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,21 @@ +services: + app: + container_name: whois-app + build: + context: . + target: app + expose: + - "3000" + volumes: + - ./data:/app/data + environment: + - NODE_ENV=production + - DB_PATH=/app/data/whois.db + restart: unless-stopped + networks: + - web + +networks: + web: + external: true + name: web |
