version: '2' services: # postgresql: # build: ./postgresql # container_name: radius-postgresql # networks: # radius.internal.docker: # aliases: # - postgresql.radius.internal.docker # volumes: # - ./data/postgresql/data:/var/lib/postgresql/data # - ./data/postgresql/backup:/var/lib/postgresql/backup # ports: # - "127.0.0.1:34020:5432" # env_file: # - env freeradius: build: ./freeradius container_name: radius-freeradius networks: radius.internal.docker: aliases: - freeradius.radius.internal.docker ports: - "0.0.0.0:1812:1812/udp" env_file: - env networks: radius.internal.docker: