2
0

docker-compose.yml 258 B

123456789101112131415
  1. ---
  2. # You can set variables in .env file in root folder
  3. #
  4. # PUBLIC_PORT=7000:7000
  5. # REPLICAS_COUNT=1
  6. services:
  7. app:
  8. build: .
  9. command: ["s"]
  10. deploy:
  11. replicas: ${REPLICAS_COUNT:-1}
  12. ports:
  13. - ${PUBLIC_PORT:-7000:7000}
  14. version: '3'