dnote-amd64.yml 653 Bytes
Newer Older
fredix's avatar
fredix committed
1
2
3
version: "3.3"
services:
  dnote:
fredix's avatar
fredix committed
4
    image: dnote/dnote:1.0.4
fredix's avatar
fredix committed
5
6
7
8
9
10
11
12
13
    env_file: .env.server.scaleway-postgresql
    networks:
      - traefik-net
    ports:
      - 3000
    deploy:
      placement:
        constraints:
#          - node.labels.location == cloud-arm64
fredix's avatar
fredix committed
14
          - node.hostname == node0
fredix's avatar
fredix committed
15
16
17
18
19
20
21
22
23
24
25
      labels:
        - "traefik.port=3000"
        - "traefik.docker.network=traefik-net"
        - "traefik.frontend.rule=Host:dnote.fredix.xyz"
        - "traefik.frontend.entryPoints=http,https"
        - "traefik.frontend.redirect.entryPoint=https"
        - "traefik.frontend.redirect.permanent=true"

networks:
  traefik-net:
    external: true