Skip to content

Instantly share code, notes, and snippets.

@electrocucaracha
Created April 6, 2020 20:18
Show Gist options
  • Save electrocucaracha/94b2e1e3160f589166825a2d25acc44f to your computer and use it in GitHub Desktop.
Save electrocucaracha/94b2e1e3160f589166825a2d25acc44f to your computer and use it in GitHub Desktop.
---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2020
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
version: '3.7'
services:
enb:
image: gogtp:enb
build:
context: ./enb
privileged: true
volumes:
- ./enb/enb_default.yml:/etc/enb.yml
networks:
lte-euu:
ipv4_address: 10.0.0.254
lte-s1u:
ipv4_address: 172.21.0.11
lte-s1c:
ipv4_address: 172.21.1.11
mme:
image: gogtp:mme
build:
context: ./mme
privileged: true
volumes:
- ./mme/mme_default.yml:/etc/mme.yml
networks:
lte-s11:
ipv4_address: 172.22.0.12
lte-s1c:
ipv4_address: 172.21.1.12
sgw:
image: gogtp:sgw
build:
context: ./sgw
privileged: true
volumes:
- ./sgw/sgw_default.yml:/etc/sgw.yml
networks:
lte-s11:
ipv4_address: 172.22.0.13
lte-s1u:
ipv4_address: 172.21.0.13
lte-s5u:
ipv4_address: 172.25.0.13
lte-s5c:
ipv4_address: 172.25.1.13
pgw:
image: gogtp:pgw
build:
context: ./pgw
privileged: true
volumes:
- ./pgw/pgw_default.yml:/etc/pgw.yml
networks:
lte-s5u:
ipv4_address: 172.25.0.14
lte-s5c:
ipv4_address: 172.25.1.14
lte-sgi:
ipv4_address: 10.0.1.254
networks:
lte-euu:
driver: overlay
attachable: true
ipam:
driver: default
config:
- subnet: 10.0.0.0/24
lte-s11:
driver: overlay
attachable: true
internal: true
ipam:
driver: default
config:
- subnet: 172.22.0.0/24
lte-s1u:
driver: overlay
attachable: true
internal: true
ipam:
driver: default
config:
- subnet: 172.21.0.0/24
lte-s1c:
driver: overlay
attachable: true
internal: true
ipam:
driver: default
config:
- subnet: 172.21.1.0/24
lte-s5u:
driver: overlay
attachable: true
internal: true
ipam:
driver: default
config:
- subnet: 172.25.0.0/24
lte-s5c:
driver: overlay
attachable: true
internal: true
ipam:
driver: default
config:
- subnet: 172.25.1.0/24
lte-sgi:
driver: overlay
attachable: true
internal: true
ipam:
driver: default
config:
- subnet: 10.0.1.0/24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment