test docker

This commit is contained in:
Zikil 2024-10-31 22:22:38 +07:00
parent 90d9961592
commit c6d76a229e
2 changed files with 16 additions and 16 deletions

View File

@ -27,24 +27,24 @@ services:
container_name: nextjs container_name: nextjs
restart: always restart: always
ports: ports:
- "3000:80" - "3000:3000"
networks: networks:
- app-network - app-network
# nginx: nginx:
# image: nginx:alpine image: nginx:alpine
# container_name: nginx container_name: nginx
# ports: ports:
# - "80:80" - "80:80"
# - "443:443" - "443:443"
# volumes: volumes:
# - ./nginx/conf.d:/etc/nginx/conf.d - ./nginx/conf.d:/etc/nginx/conf.d
# - ./nginx/ssl:/etc/nginx/ssl - ./nginx/ssl:/etc/nginx/ssl
# depends_on: depends_on:
# - nextjs - nextjs
# networks: networks:
# - app-network - app-network
# restart: always restart: always
networks: networks:
app-network: app-network:

View File

@ -36,7 +36,7 @@
server { server {
listen 80; listen 80;
server_name localhost; server_name anthillsib.ru www.anthillsib.ru;
location / { location / {
proxy_pass http://app:3000; proxy_pass http://app:3000;